package com.example.design.factory.version6;

public class FacotoRyTest {
    public static void main(String[] args) {

//        Root root=new AIRoot();
//
//        Root root1=new AIRootV2();

        Root root= (Root) Factory.getInstance(BeanProperties.getClassName(Consts.ROOT));

    }
}
